<html>
<head>
    <style type="text/css">
    body, th, td { font:12px/1.4em Arial,Helvatica; }
    </style>
    <title>Datasets</title>
</head>
<body>
{% for dataset in datasets %}
<div><a href="/dataview/{{ dataset.id }}">{{ dataset.name }}</a></div>
{% endfor %}

{% if form %}
<div id="upload_photo" style="width:350px;-moz-border-radius: 5px;-webkit-border-radius: 5px;padding:0.5em;margin-top:1em;background:#ededef">
    <h1 align="center">Upload a dataset</h1>
        <form name="file_forms" action="/newdata/" method="post" enctype="multipart/form-data">
        {{ form.as_p }}
        <div align="center"><input type="submit"value="Submit"></div>
    </form>
</div>
{% endif %}
</body>
</html>
